package com.csc.service;

import java.util.List;

import com.csc.bean.UserRequestBean;
import com.csc.domain.TransactionHistory;

public interface SystemTransactionHistoryService {
	public List<TransactionHistory> getListTransactionRequestByAccount();
	
	public List<TransactionHistory> searchAccountRequestTransactionByName(String name);
	
	public List<TransactionHistory> searchAccountRequestTransactionAdvance(String accImpact, String accAffected, String fromDate, String toDate, String role, String status);

	public List<TransactionHistory> getListTransactionRequestByAdminReport();
	
	public List<TransactionHistory> viewReportActionBySearchUsingUserName(String name);
	
	public List<TransactionHistory> viewReportActionByAdvanceSearch(String accImpact, String accAffected, String fromDate, String toDate, String role, String status);
	
	public List<TransactionHistory> getAllInboxUser(String username);
	
	public List<TransactionHistory> searchInboxUserBySender(String userImpact, String userAffected);
	
	public List<TransactionHistory> searchInboxUserAdvanced(String affectednam, String subject, String fromDate, String toDate);
	
	// Nguyen Vu Hung - Get list request of user
	public List<TransactionHistory> getListRequestUser(String username);
	
	// Nguyen Vu Hung - Parse to UserRequestBean
	public List<UserRequestBean> parseUserRequestBean(List<TransactionHistory> listTrans);
}
